package grad.nxu.recruitsystem.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @TableName job_application
 */
@TableName(value = "job_application")
@Data
public class JobApplication implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 主键，自增
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 简历id
     */
    @TableField(value = "biographical_id")
    private Integer biographicalId;
    /**
     * 岗位id
     */
    @TableField(value = "position_id")
    private Integer positionId;
    /**
     * 状态（老板是否已经同意招收该务工人员，0表示未同意，1表示同意）
     */
    @TableField(value = "status")
    private Integer status;
}